<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:23:"app/index/view/uid.html";i:1615109898;}*/ ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="author" content="@梦雨(QQ50361804)" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title><?php echo $c['username']; ?>的个人主页 - <?php echo set('title'); ?></title>
    <meta name="keywords" content="<?php echo set('keywords'); ?>">
    <meta name="description" content="<?php echo set('description'); ?>">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="/app/index/view/public/css/bootstrap.min.css">
    <link rel="stylesheet" href="/public/admin/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/public/admin/css/font.css">
	<link href="/public/css/default.css" rel="stylesheet">
	<script src="/public/js/jquery-3.4.1.min.js"></script>
    <script src="/public/admin/lib/layui/layui.js"></script>
    <link rel="stylesheet" type="text/css" href="/app/index/view/public/css/uid.css?v=<?php echo set('banben'); ?>" />
</head>
<body class="indexx">
    <main class="main pb-20">
        <div class="header-image">
            <div class="js-parallax"></div>
        </div>
        <div class="container gutter-top">
            <!-- Header -->
            <header class="header_uid box">
                <div class="header__left">
                    <div class="header__photo">
                        <img class="header__photo-img" src="<?php echo $c['userhead']; ?>" alt="<?php echo user('username'); ?>">
                    </div>
                    <div class="header__base-info">
                        <h4 class="title titl--h4"><?php echo $c['username']; ?></h4>
                        <ul class="header__social">
                            <li>
                                <div class="addqa">积分:<?php echo $c['point']; ?></div>
                            </li>
                            <li>
                                <a href="/" class="addqun" target="_blank">返回首页</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="header__right">
                    <div class="status"><?php echo dingyi($c['description'],'没有任何介绍'); ?></div>
                </div>
            </header>
            <div class="row sticky-parent">
                <aside class="col-12 col-md-12 col-lg-2">
                    <div class="sidebar box sticky-column">
                        <ul class="nav genduo">
                            <li class="nav__item">
                                <a href="/">
                                    <i class="layui-icon">&#xe609;</i>
                                    返回首页
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a <?php if(strpos(get_url(), 'uid-'.$c['userid'].'.html') !== false): ?>class="active"<?php endif; if(strpos(get_url(), 'uid-'.$c['userid'].'-html') !== false): ?>class="active"<?php endif; ?> href="<?php echo url('index/user/uid',array('model'=>'html','id'=>$c['userid'])); ?>">
                                    <i class="layui-icon">&#xe65f;</i>
                                    投稿文章
                                </a>
                            </li>
                            <?php $_result=fun_s('model',array('open'=>1),'id desc',10,false);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                             <li class="nav__item">
                                <a <?php if(strpos(get_url(), 'uid-'.$c['userid'].'-'.$vo['name']) !== false): ?>class="active"<?php endif; ?> href="<?php echo url('index/user/uid',array('model'=>$vo['name'],'id'=>$c['userid'])); ?>">
                                    <i class="layui-icon">&#xe65f;</i>
                                    <?php echo $vo['title']; ?>
                                </a>
                            </li>
                            <?php endforeach; endif; else: echo "" ;endif; ?> 
                        </ul>
                    </div>
                </aside>
                
                
                <!-- 内容开始 -->
                <div class="col-12 col-md-12 col-lg-10">
                    <div class="box box-content" style="min-height: 625px;">
                        <h1 class="title title--h1 first-title title__separate">投稿</h1> 
                        <?php $_result=fun_s(get('model','html'),array('open'=>1,'uid'=>$c['userid']),'id desc',10,false);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "
                        <div align='center'>
                            <img src='/public/img/empty.jpg' height='200' />
                            <h4 class='pt-20'>
                               没有更多的记录
                               </h4>
                        </div>" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <div class="sides_list_property large mt-10">
                            <div class="sides_list_property_detail">
                                <h4>
                                    <?php if(get('model','html')=='html'): ?>
                                    <a <?php if($vo['settop']==1): ?>class="box_san" title="推荐"<?php endif; ?> style="font-size: 16px;<?php if($vo['time']>=Date_k(0)): ?>color: #f71605;<?php endif; ?>" href="<?php echo url('index/index/html',array('id'=>$vo['id'])); ?>"><?php echo $vo['title']; ?></a>
                                    <?php else: ?>
                                    <a <?php if($vo['settop']==1): ?>class="box_san" title="推荐"<?php endif; ?> style="font-size: 16px;<?php if($vo['time']>=Date_k(0)): ?>color: #f71605;<?php endif; ?>" href="<?php echo url('index/model/html',array('model'=>$vo['m'],'id'=>$vo['id'])); ?>"><?php echo $vo['title']; ?></a>
                                    <?php endif; if($vo['settop']==1): ?><i class="iconfont" style="color: #FF5722;">&#xe6de;</i><?php endif; ?>
                                </h4>
                                <div class="lists_property_price">
                                    <div class="lists_property_price_value first">
                                        <span class="post-date ml-0">
                                            <a  target="_blank" href="<?php echo url('index/user/uid',array('id'=>$vo['uid'])); ?>">
                                            <span class="icons"><i class="iconfont">&#xe726;</i> </span><?php echo fun_sc_p('member', array('userid'=>$vo['uid']), 'username'); ?></a></span>
                                        <span class="post-date ml-0"><i class="iconfont">&#xe6bb;</i> <?php echo date("m-d",$vo['time']); ?></span>
                                    </div>
                                    <span class="post-date ml-0"><i class="iconfont">&#xe6e6;</i> <?php echo $vo['view']; ?></span>
                                </div>      
                            </div>
                        </div> 
                        <?php endforeach; endif; else: echo "
                        <div align='center'>
                            <img src='/public/img/empty.jpg' height='200' />
                            <h4 class='pt-20'>
                               没有更多的记录
                               </h4>
                        </div>" ;endif; ?> 
                        <?php echo fun_s(get('model','html'),array('open'=>1,'uid'=>$c['userid']),'id desc',10,false)->render(); ?>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
    </main>
    <script type="text/javascript" src="/public/js/form_ajax.js?v=<?php echo set('banben'); ?>"></script>
    <script src="/app/index/view/public/js/plugins.min.js"></script>
    <script src="/app/index/view/public/js/common.js"></script>
    <?php echo hook('useruid'); ?>
	</body>
</html>